package com.bootdo.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.wx.dao.CmsNoticeDao;
import com.bootdo.wx.domain.CmsNoticeDO;
import com.bootdo.wx.service.CmsNoticeService;



@Service
public class CmsNoticeServiceImpl implements CmsNoticeService {
	@Autowired
	private CmsNoticeDao cmsNoticeDao;
	
	@Override
	public CmsNoticeDO get(String id){
		return cmsNoticeDao.get(id);
	}
	
	@Override
	public List<CmsNoticeDO> list(Map<String, Object> map){
		return cmsNoticeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return cmsNoticeDao.count(map);
	}
	
	@Override
	public int save(CmsNoticeDO cmsNotice){
		return cmsNoticeDao.save(cmsNotice);
	}
	
	@Override
	public int update(CmsNoticeDO cmsNotice){
		return cmsNoticeDao.update(cmsNotice);
	}
	
	@Override
	public int remove(String id){
		return cmsNoticeDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return cmsNoticeDao.batchRemove(ids);
	}

    @Override
    public List<CmsNoticeDO> likeList(Map<String, Object> map){
        return cmsNoticeDao.likeList(map);
    }
	
}
